import React, { Component } from 'react';
import OriginForm from './originForm'
import RcForm from './rc-form'
import MyForm from './my-form'

class index extends Component {
    render() {
        return (
            <div>
                <h3>17 高阶组件版表单组件设计思路进阶</h3>
                <h4>原始表单写法</h4>
                <OriginForm />
                <br />
                <h4>rc-form写法</h4>
                <RcForm />
                <br />
                <h4>自己封装个rc-form</h4>
                <MyForm />
            </div>
        );
    }
}

export default index;
